package com.caishi.lkx.exam.ienum.type;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

public enum PaperRecordType {
    chapterPractice("章节练习", 1),
    paperLibrary("试卷库", 2),
    specialPractice("专项练习", 3),
    randomFormPaper("随机组卷", 4),
    errorCombination("错题组卷", 5),
    ;

    @Getter
    final
    String desc;

    @Getter
    @EnumValue
    final
    Integer code;

    PaperRecordType(String desc, Integer code) {
        this.desc = desc;
        this.code = code;
    }
}
